package com.itheima.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @projectName: kafka
 * @package: com.itheima.result
 * @className: PageData
 * @author: Eric
 * @description: TODO
 * @date: 2023/9/21 18:56
 * @version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageData {
    private Long count;      //计数
    private Integer totalPages; //总页数
    private Integer pageSize;   //页面大小
    private Integer currentPage;//当前页
    private List<?> data;//数据
}
